.file-preview-modal.ant-modal-wrap {
  // width: 100%;
  // height: 100%;
  overflow: hidden;

  .ant-modal {
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    max-width: 100%;
    padding: 0px;
    margin: 0px;

    .ant-modal-content {
      left: 0px;
      top: 0px;
      width: 100%;
      height: 100%;
      padding: 0px;
      border-radius: 0px;
      position: absolute;

      .ant-modal-body {
        width: 100%;
        height: 100%;
        padding: 0px;
        margin: 0px;
        max-height: unset;
        overflow: hidden;
      }
    }
  }
}

.file-preview-wrapper {
  width: 100%;
  height: 100%;
  display: flex;

  .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border-radius: 0px;

    .header-card {
      width: 100%;
      height: 50px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: #fff;
      border-bottom: 1px solid #e0e0e0;
      padding: 0px 16px;

      .title {
        font-size: 16px;
        font-weight: 600;
        color: #252627;
      }
    }

    .content-card {
      width: 100%;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background: #fff;
      border-bottom: 1px solid #e0e0e0;
      overflow: auto hidden;
      padding: 16px;

      .icon {
        width: 100px;
        aspect-ratio: 1;
        object-fit: cover;
        padding: 8px;
      }

      .fileName {
        padding: 8px;
        font-size: 16px;
        font-weight: 600;
        color: #252627;
      }

      .tip {
        color: rgba(37, 38, 43, 0.36);
        font-size: 12px;
        margin-bottom: 16px;
      }
    }
  }

  .details-container {
    opacity: 0;
    width: 0px;
    background-color: rgb(245, 245, 246);
    border-left: 1px solid rgba(132, 133, 141, 0.08);

    transition:
      width 0.3s,
      opacity 0.1s;

    .header-card {
      width: 100%;
      height: 50px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px;
    }
  }

  &-foled .details-container {
    width: 320px;
    opacity: 1;
    transition:
      width 0.3s,
      opacity 0.1s 0.1s;
  }
}
